package cn.easy.common.pojo;

public enum SensorType {
    SWITCH("开关",1),NUMBER("数值",2),GPS("GPS",3);
    private  String name;//名字
    private int index;//编号

    SensorType(String name, int index) {
        this.name = name;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
